import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

Vue.config.productionTip = false

// google map
import * as VueGoogleMaps from 'vue2-google-maps'
Vue.use(VueGoogleMaps, {
  load: {
    key: 'AIzaSyAgwbNdvtCwBpjpApb6EYgD-g_nyw8zSLQ',
    libraries: 'places'
  }
})

import VueParticles from 'vue-particles'
import secret from "./util/secret";
Vue.use(VueParticles)

// 过滤器
Vue.filter('fieldDecrypt', function (value) {
  return secret.decrypt(value);
});

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
